package com.opennews.openplatform

import groovy.transform.CompileStatic

@CompileStatic
class RegionController extends BaseController {
    RegionService regionService

    // region: Get actions.
    def index() {
        render("RegionController")
    }

    def queryAll() {
        def result = regionService.queryAll()

        sendDataResponse(result)
    }
    //endregion
}
